package com.onpositive.gamemaker.rcp;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import com.onpositive.gamemaker.treeview.DirectoryView;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		final String LEFT_FOLDER_ID = "leftFolder";
		//final String RIGHT_FOLDER_ID = "rightFolder";
		IFolderLayout folder =  layout.createFolder(LEFT_FOLDER_ID, IPageLayout.LEFT, (float)0.25, IPageLayout.ID_EDITOR_AREA);
		folder.addView(DirectoryView.ID);
//		IFolderLayout rightFolder = layout.createFolder(RIGHT_FOLDER_ID, IPageLayout.RIGHT, (float)0.65, IPageLayout.ID_EDITOR_AREA);
//		rightFolder.addView(IPageLayout.ID_OUTLINE);
	}
}
